all:compire

$(shell test -d obj/Debug || mkdir -p obj/Debug)

$(shell test -d bin/Debug || mkdir -p bin/Debug)

SRC_PATH=.


read.o:read.c
	gcc -Wall -g -c ${SRC_PATH}/read.c -o obj/Debug/read.o
	
main.o:main.c
	gcc -Wall -g  -c ${SRC_PATH}/main.c -o obj/Debug/main.o
		
compire:read.o main.o
	gcc -o bin/Debug/readVideo obj/Debug/read.o obj/Debug/main.o
	
.PHONY:clean
clean:
	-rm -rf *.o
